package cn.bby.query.base.model.dto;

import lombok.Data;

/**
 * @author ben
 * @since 2025/6/13 00:47
 */
@Data
public class TableMetaInfo {
    /**
     * 表名
     */
    private String tableName;
    /**
     * 主键字段
     */
    private String identityField;
    /**
     * 是否非简单依赖关系,如子表依赖主表id
     */
    private Boolean isComplex;

    public TableMetaInfo(String tableName, String identityField) {
        this.tableName = tableName;
        this.identityField = identityField;
    }
}
